home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 November / macformat-109.iso / Demos / Alice Demo / demo / pak0.pk3 / scripts / ui.shader < prev    next >
Encoding:
Text File  |  2000-11-20  |  28.0 KB  |  1,712 lines

  1. // PGM -- this shader is drawn in the background when the main menu is up
  2. gfx/2d/mainmenuback
  3. {
  4.     {
  5.         map gfx/2d/winback.tga
  6.         rgbGen identity        
  7.     }
  8. }
  9.  
  10. gfx/2d/textends
  11. {
  12.     {
  13.         map gfx/2d/textends.tga
  14.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  15. //        rgbGen globalColor
  16.         rgbGen    identity
  17.         alphaGen globalAlpha
  18.     }
  19. }
  20.  
  21. // PGM -- large text dialog background
  22. gfx/2d/talkmenu
  23. {
  24.     {
  25.         map gfx/2d/talkmenu.tga
  26.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  27.         rgbGen    identity
  28.         alphaGen globalAlpha
  29.     }
  30. }
  31.  
  32. // PGM -- small text dialog background
  33. gfx/2d/talkmenu2
  34. {
  35.     {
  36.         map gfx/2d/talkmenu2.tga
  37.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  38.         rgbGen    identity
  39.         alphaGen globalAlpha
  40.     }
  41. }
  42.  
  43. // DHM -- Inventory shaders
  44. gfx/2d/inventory_back
  45. {
  46.     cull none
  47.     nopicmip
  48.     surfaceparm nolightmap
  49.     {
  50.         //map gfx/2d/inventory4.tga
  51.         map ui/card2_2.tga
  52.     }
  53. }
  54.  
  55. gfx/2d/inventory_hover
  56. {
  57.     cull none
  58.     nopicmip
  59.     surfaceparm nolightmap
  60.     {
  61.         //map gfx/2d/inventory5.tga
  62.         map ui/card2_1.tga
  63.         //blendfunc GL_ONE GL_ONE
  64.         rgbGen    identity
  65.     }
  66. }
  67.  
  68. // pgm - this is the cat face on the level loading screen
  69. // dhm - added nopicmip so it's not blurry when r_picmip > 0
  70. gfx/2d/loading
  71. {
  72.     nopicmip
  73.     surfaceparm nolightmap
  74.     {
  75.         map gfx/2d/loading.tga
  76.         rgbGen identity
  77.     }
  78. }
  79.  
  80. ui/demondice
  81. {
  82.     nopicmip
  83.     surfaceparm nolightmap
  84.     {
  85.         map ui/demondice.tga
  86.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  87.         rgbGen identity
  88.     }
  89. }
  90.  
  91. ui/health
  92. {
  93.     nopicmip
  94.     surfaceparm nolightmap
  95.     {
  96.         clampmap ui/mana1_5.tga
  97.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  98.         rgbGen identity
  99.     }
  100. }
  101.  
  102. ui/healthback
  103. {
  104.     nopicmip
  105.     surfaceparm nolightmap
  106.     {
  107.         clampmap ui/manabase.tga
  108.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  109.         rgbGen identity
  110.     }
  111. }
  112.  
  113. ui/healtharm
  114. {
  115.     nopicmip
  116.     surfaceparm nolightmap
  117.     cull none
  118.     {
  119. //        clampmap ui/needle.tga
  120.         clampmap models/healtharm/skin01.tga
  121.         blendfunc blend
  122.         rgbGen identity
  123.     }
  124. }
  125.  
  126. ui/mana
  127. {
  128.     nopicmip
  129.     surfaceparm nolightmap
  130.     {
  131.         clampmap ui/health1_1.tga
  132.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  133.         rgbGen identity
  134.     }
  135. }
  136.  
  137. ui/manaback
  138. {
  139.     nopicmip
  140.     surfaceparm nolightmap
  141.     {
  142.         clampmap ui/healthbase.tga
  143.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  144.         rgbGen identity
  145.     }
  146. }
  147.  
  148. ui/manaarm
  149. {
  150.     nopicmip
  151.     surfaceparm nolightmap
  152.     cull none
  153.     {
  154. //        clampmap ui/needle.tga
  155.         clampmap models/healtharm/skin02.tga
  156.         blendfunc blend
  157.         rgbGen identity
  158.     }
  159. }
  160.  
  161. gfx/mainmenu/alice1b_overlay
  162. {
  163.     nopicmip
  164.     nomipmaps
  165.     {
  166.         nodepthtest
  167.         clampmap gfx/mainmenu/alice1b.tga
  168.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  169.         rgbgen global
  170.         alphagen global
  171.     }
  172. }
  173.  
  174. gfx/mainmenu/alice1c_overlay
  175. {
  176.     nopicmip
  177.     nomipmaps
  178.     {
  179.         nodepthtest
  180.         clampmap gfx/mainmenu/alice1c.tga
  181.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  182.         rgbgen global
  183.         alphagen global
  184.     }
  185. }
  186.  
  187. gfx/mainmenu/alice2_overlay
  188. {
  189.     nopicmip
  190.     nomipmaps
  191.     surfaceparm nolightmap
  192.     {
  193.         nodepthtest
  194.         clampmap gfx/mainmenu/alice2.tga
  195.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  196.         rgbgen global
  197.         alphagen global
  198.     }
  199. }
  200.  
  201. gfx/mainmenu/alice3_overlay
  202. {
  203.     nopicmip
  204.     nomipmaps
  205.     surfaceparm nolightmap
  206.     {
  207.         nodepthtest
  208.         clampmap gfx/mainmenu/alice3.tga
  209.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  210.         rgbgen global
  211.         alphagen global
  212.     }
  213. }
  214.  
  215.  
  216. gfx/mainmenu/alicebottom
  217. {
  218.     nopicmip
  219.     nomipmaps
  220.     surfaceparm nolightmap
  221.     {
  222.         nodepthtest
  223.         map gfx/mainmenu/alicebottom.tga
  224.         rgbgen global
  225.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  226.     }
  227. }
  228.  
  229. gfx/mainmenu/lightning
  230. {
  231.     nopicmip
  232.     nomipmaps
  233.     surfaceparm nolightmap
  234.     {
  235.         nodepthtest
  236.         map gfx/mainmenu/lightning.tga
  237.         rgbGen wave noise 0 1 0 3
  238.         blendfunc GL_ONE GL_ONE
  239.     }
  240. }
  241.  
  242. gfx/mainmenu/newgame
  243. {
  244.     nopicmip
  245.     nomipmaps
  246.     surfaceparm nolightmap
  247.     {
  248.         nodepthtest
  249.         map gfx/mainmenu/newgame.tga
  250.         rgbgen identity
  251.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  252.     }
  253. }
  254.  
  255. gfx/mainmenu/loadsave
  256. {
  257.     nopicmip
  258.     nomipmaps
  259.     surfaceparm nolightmap
  260.     {
  261.         nodepthtest
  262.         map gfx/mainmenu/loadsave.tga
  263.         rgbgen identity
  264.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  265.     }
  266. }
  267.  
  268. gfx/mainmenu/controls
  269. {
  270.     nopicmip
  271.     nomipmaps
  272.     surfaceparm nolightmap
  273.     {
  274.         nodepthtest
  275.         map gfx/mainmenu/controls.tga
  276.         rgbgen identity
  277.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  278.     }
  279. }
  280.  
  281. gfx/mainmenu/video
  282. {
  283.     nopicmip
  284.     nomipmaps
  285.     surfaceparm nolightmap
  286.     {
  287.         nodepthtest
  288.         map gfx/mainmenu/video.tga
  289.         rgbgen identity
  290.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  291.     }
  292. }
  293.  
  294. gfx/mainmenu/controls
  295. {
  296.     nopicmip
  297.     nomipmaps
  298.     surfaceparm nolightmap
  299.     {
  300.         nodepthtest
  301.         map gfx/mainmenu/controls.tga
  302.         rgbgen identity
  303.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  304.     }
  305. }
  306.  
  307. gfx/mainmenu/quit
  308. {
  309.     nopicmip
  310.     nomipmaps
  311.     surfaceparm nolightmap
  312.     {
  313.         nodepthtest
  314.         map gfx/mainmenu/quit.tga
  315.         rgbgen identity
  316.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  317.     }
  318. }
  319.  
  320. // SMF - hud shaders
  321. ui/ui_main
  322. {
  323.     nopicmip
  324.     nomipmaps
  325.     {
  326.         nodepthtest
  327. //        depthwrite
  328.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  329.         map models/ui/pieces/main/health.tga
  330.         rgbGen identity    
  331.     }    
  332. }
  333.  
  334. ui/ui_manamain
  335. {
  336.     nopicmip
  337.     nomipmaps
  338.     {
  339.         nodepthtest
  340. //        depthwrite
  341.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  342.         map models/ui/pieces/main/skin01.tga
  343.         rgbGen identity    
  344.     }
  345. }
  346.  
  347. ui/ui_health
  348. {    
  349.     sort decal
  350.     cull disable
  351.     {
  352.         nodepthtest
  353.         map models/ui/pieces/main/skin_health02.tga
  354.         rgbGen wave sin 1 .4 0 .1
  355.         tcMod scroll -0.2 -0.2
  356.     }
  357.     {
  358.         nodepthtest
  359.         map textures/liquid/grey1.tga
  360.         blendfunc gl_one gl_one
  361.         tcmod scale .5 1.5
  362.         tcmod scroll .3 .3
  363.     }
  364.     {
  365.         nodepthtest
  366.         map textures/liquid/grey2.tga
  367.         blendfunc gl_one gl_one
  368.         tcmod scale .5 1.5
  369.         tcmod scroll -.3 -.3
  370.     }    
  371. }
  372. ui/ui_mana
  373. {    
  374.     sort decal
  375.     cull disable
  376.     {
  377.         nodepthtest
  378.         map models/ui/pieces/main/skin_mana01.tga
  379.         rgbGen wave sin 1 .3 0 .2
  380.         tcMod scroll -0.16 -0.16
  381.     }
  382.     {
  383.         nodepthtest
  384.         map textures/liquid/grey1.tga
  385.         blendfunc gl_one gl_one
  386.         tcmod scale .5 1.5
  387.         tcmod scroll .3 .3
  388.     }
  389.     {
  390.         nodepthtest
  391.         map textures/liquid/grey2.tga
  392.         blendfunc gl_one gl_one
  393.         tcmod scale .5 1.5
  394.         tcmod scroll -.3 -.3
  395.     }    
  396. }
  397.  
  398. ui/ui_foldout
  399. {
  400. //    sort decal
  401.     nopicmip
  402.     nomipmaps
  403.     cull disable
  404.     {
  405.         nodepthtest
  406.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  407.         map models/ui/pieces/foldout/base.tga
  408.     }
  409.     //{
  410.     //    map models/ui/pieces/foldout/glow.tga
  411.     //    blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  412.     //    alphagen wave sin .5 .5 0 .2
  413.     //}    
  414. }
  415.  
  416. ui/ui_back
  417. {
  418.     sort decal
  419.     cull disable
  420.     nopicmip
  421.     nomipmaps
  422.     {
  423.         nodepthtest
  424.         map models/ui/pieces/main/skin_back01.tga
  425.     }
  426. }
  427.  
  428.  
  429. ui/loadgame/bigMask
  430. {
  431.     nopicmip
  432.     nomipmaps
  433.     surfaceparm nolightmap
  434.     {
  435.         nodepthtest
  436.         map ui/load/bigMask.tga
  437.         rgbgen identity
  438.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  439.     }
  440.     surfaceparm nolightmap
  441.     {
  442.         nodepthtest
  443.         map ui/load/bigMask_glow.tga
  444.         rgbgen identity
  445.         alphaGen wave noise 0.8 0.2 0 10
  446.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  447.     }
  448. }
  449.  
  450. ui/loadgame/lensCap
  451. {
  452.     nopicmip
  453.     nomipmaps
  454.     surfaceparm nolightmap
  455.     {
  456.         nodepthtest
  457.         map ui/load/lensCap.tga
  458.         rgbgen identity
  459.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  460.     }
  461. }
  462.  
  463. ui/loadgame/sepia1
  464. {
  465.     nopicmip
  466.     nomipmaps
  467.     surfaceparm nolightmap
  468.     {
  469.         nodepthtest
  470.         animMap 10 ui/load/sepia1_2.tga ui/load/sepia1_3.tga ui/load/sepia1_4.tga ui/load/sepia1_5.tga ui/load/sepia1_6.tga
  471.         rgbgen identity
  472.         alphaGen wave noise 0.8 0.2 0 10
  473.         blendfunc GL_DST_COLOR GL_SRC_ALPHA
  474.     }
  475. }
  476.  
  477. ui/loadgame/deleteconfirm
  478. {
  479.     nopicmip
  480.     nomipmaps
  481.     surfaceparm nolightmap
  482.     {
  483.         nodepthtest
  484.         clampmap ui/load/deleteconfirm.tga
  485.         rgbgen identity
  486. //        alphaGen wave sin 0 1 0.3 0.3
  487.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  488.         tcmod rotate 20 20            
  489.     }
  490. }
  491.  
  492. ui/control/glow1
  493. {
  494.     nopicmip
  495.     nomipmaps
  496.     surfaceparm nolightmap
  497.     {
  498.         nodepthtest
  499.         map ui/control/glow_1.tga
  500.         rgbgen identity
  501.         alphaGen wave sin .6 .8 0 0.5
  502.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  503.     }
  504. }
  505.  
  506. ui/control/lightning
  507. {
  508.     nopicmip
  509.     nomipmaps
  510.     surfaceparm nolightmap
  511.     {
  512.         nodepthtest
  513.         map gfx/mainmenu/reflect_1.tga
  514.         rgbGen wave noise 0 1 0 3
  515.         blendfunc GL_ONE GL_ONE
  516.     }
  517. }
  518.  
  519. ui/control/reflect_1_lightning
  520. {
  521.     nopicmip
  522.     nomipmaps
  523.     surfaceparm nolightmap
  524.     {
  525.         nodepthtest
  526.         map ui/control/reflect_1.tga
  527.         rgbgen identity
  528.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  529.     }
  530. //    surfaceparm nolightmap
  531. //    {
  532. //        nodepthtest
  533. //        map ui/control/reflect_1_glow.tga
  534. //        rgbgen identity
  535. //        alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  536. //        blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  537. //    }
  538. }
  539.  
  540. ui/control/bar
  541. {
  542.     nopicmip
  543.     nomipmaps
  544.     surfaceparm nolightmap
  545.     {
  546.         nodepthtest
  547.         map ui/control/bar_1.tga
  548.         rgbgen identity
  549.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  550.     }
  551. }
  552.  
  553. ui/control/bar_glow
  554. {
  555.     nopicmip
  556.     nomipmaps
  557.     surfaceparm nolightmap
  558.     {
  559.         nodepthtest
  560.         map ui/control/bar_1_glow.tga
  561.         rgbgen identity
  562.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  563.     }
  564. }
  565.  
  566. ui/control/backA
  567. {
  568.     nopicmip
  569.     nomipmaps
  570.     surfaceparm nolightmap
  571.     {
  572.         nodepthtest
  573.         map ui/control/controlA.tga
  574.         rgbgen identity
  575.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  576.     }
  577.     surfaceparm nolightmap
  578.     {
  579.         nodepthtest
  580.         map ui/control/control_lightningA.tga
  581.         rgbgen identity
  582.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  583.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  584.     }
  585. }
  586.  
  587. ui/control/backA
  588. {
  589.     nopicmip
  590.     nomipmaps
  591.     surfaceparm nolightmap
  592.     {
  593.         nodepthtest
  594. //        map ui/control/controlA.tga
  595.         map ui/control/control_lightningA.tga
  596.         rgbgen identity
  597.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  598.     }
  599.     surfaceparm nolightmap
  600.     {
  601.         nodepthtest
  602.         map ui/control/control_lightningA.tga
  603.         rgbgen identity
  604.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  605.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  606.     }
  607. }
  608.  
  609. ui/control/backB
  610. {
  611.     nopicmip
  612.     nomipmaps
  613.     surfaceparm nolightmap
  614.     {
  615.         nodepthtest
  616. //        map ui/control/controlB.tga
  617.         map ui/control/control_lightningB.tga
  618.         rgbgen identity
  619.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  620.     }
  621.     surfaceparm nolightmap
  622.     {
  623.         nodepthtest
  624.         map ui/control/control_lightningB.tga
  625.         rgbgen identity
  626.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  627.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  628.     }
  629. }
  630.  
  631. ui/control/backC
  632. {
  633.     nopicmip
  634.     nomipmaps
  635.     surfaceparm nolightmap
  636.     {
  637.         nodepthtest
  638. //        map ui/control/controlC.tga
  639.         map ui/control/control_lightningC.tga
  640.         rgbgen identity
  641.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  642.     }
  643.     surfaceparm nolightmap
  644.     {
  645.         nodepthtest
  646.         map ui/control/control_lightningC.tga
  647.         rgbgen identity
  648.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  649.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  650.     }
  651. }
  652.  
  653. ui/control/backD
  654. {
  655.     nopicmip
  656.     nomipmaps
  657.     surfaceparm nolightmap
  658.     {
  659.         nodepthtest
  660. //        map ui/control/controlD.tga
  661.         map ui/control/control_lightningD.tga
  662.         rgbgen identity
  663.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  664.     }
  665.     surfaceparm nolightmap
  666.     {
  667.         nodepthtest
  668.         map ui/control/control_lightningD.tga
  669.         rgbgen identity
  670.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  671.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  672.     }
  673. }
  674.  
  675. ui/control/backE
  676. {
  677.     nopicmip
  678.     nomipmaps
  679.     surfaceparm nolightmap
  680.     {
  681.         nodepthtest
  682. //        map ui/control/controlE.tga
  683.         map ui/control/control_lightningE.tga
  684.         rgbgen identity
  685.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  686.     }
  687.     surfaceparm nolightmap
  688.     {
  689.         nodepthtest
  690.         map ui/control/control_lightningE.tga
  691.         rgbgen identity
  692.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  693.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  694.     }
  695. }
  696.  
  697. ui/control/backF
  698. {
  699.     nopicmip
  700.     nomipmaps
  701.     surfaceparm nolightmap
  702.     {
  703.         nodepthtest
  704. //        map ui/control/controlF.tga
  705.         map ui/control/control_lightningF.tga
  706.         rgbgen identity
  707.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  708.     }
  709.     surfaceparm nolightmap
  710.     {
  711.         nodepthtest
  712.         map ui/control/control_lightningF.tga
  713.         rgbgen identity
  714.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  715.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  716.     }
  717. }
  718.  
  719. ui/control/reflect_lightning
  720. {
  721.     nopicmip
  722.     nomipmaps
  723.     surfaceparm nolightmap
  724.     {
  725.         nodepthtest
  726.         map ui/control/reflect_1.tga
  727.         rgbgen identity
  728.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  729.     }
  730.     surfaceparm nolightmap
  731.     {
  732.         nodepthtest
  733.         map ui/control/reflect_1_glow.tga
  734.         rgbgen identity
  735.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  736.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  737.     }
  738. }
  739.  
  740. ui/control/bulb_glow
  741. {
  742.     nopicmip
  743.     nomipmaps
  744.     surfaceparm nolightmap
  745.     {
  746.         nodepthtest
  747.         map ui/control/bulb_glow_1.tga
  748.         rgbgen identity
  749. //        alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  750.         alphaGen wave sin 0 1 0 0.5
  751.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  752.     }
  753. }
  754.  
  755. ui/control/glowing_eyes
  756. {
  757.     nopicmip
  758.     nomipmaps
  759.     surfaceparm nolightmap
  760.     {
  761.         nodepthtest
  762.         map ui/control/eye_glow_1.tga
  763.         rgbgen identity
  764. //        alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  765.         alphaGen wave sin 0 1 0 0.2
  766.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  767.     }
  768. }
  769.  
  770. ui/control/glowing_heart
  771. {
  772.     nopicmip
  773.     nomipmaps
  774.     surfaceparm nolightmap
  775.     {
  776.         nodepthtest
  777.         map ui/control/glow_1.tga
  778.         rgbgen identity
  779.         alphaGen wave sin 0 1 0.3 0.3
  780.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  781.     }
  782. }
  783.  
  784. ui/control/glowing_twirl
  785. {
  786.     nopicmip
  787.     nomipmaps
  788.     surfaceparm nolightmap
  789.     {
  790.         nodepthtest
  791.         clampmap ui/control/twirl_1.tga
  792.         rgbgen identity
  793. //        alphaGen wave sin 0 1 0.3 0.3
  794.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  795.         tcmod rotate 50 50            
  796.     }
  797. }
  798.  
  799. ui/control/glowing_twirl2
  800. {
  801.     nopicmip
  802.     nomipmaps
  803.     surfaceparm nolightmap
  804.     {
  805.         nodepthtest
  806.         clampmap ui/control/twirl_2.tga
  807.         rgbgen identity
  808. //        alphaGen wave sin 0 1 0.3 0.3
  809.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  810.         tcmod rotate 75 30
  811.     }
  812. }
  813.  
  814. ui/control/apply
  815. {
  816.     nopicmip
  817.     nomipmaps
  818.     surfaceparm nolightmap
  819.     {
  820.         nodepthtest
  821.         map ui/control/apply_glow.tga
  822.         alphaGen vertex
  823.         rgbGen wave sin .7 .35 0 .2
  824.         blendfunc GL_ONE_MINUS_SRC_ALPHA GL_ONE
  825.     }
  826. }
  827.  
  828. ui/control/cancel
  829. {
  830.     nopicmip
  831.     nomipmaps
  832.     surfaceparm nolightmap
  833.     {
  834.         nodepthtest
  835.         map ui/control/cancel_wavy.tga
  836.         rgbgen identity
  837.         alphaGen wave sin 0 1 0.8 0.3
  838. //        alphaGen wave inversesawtooth -2 3 0 1
  839.         blendfunc GL_SRC_ALPHA GL_ONE
  840.     }
  841.     surfaceparm nolightmap
  842.     {
  843.         nodepthtest
  844.         map ui/control/cancel_wavy2.tga
  845.         rgbgen identity
  846.         alphaGen wave sin 0 1 0.4 0.2
  847. //        alphaGen wave sawtooth 2 3 0 1
  848.         blendfunc GL_SRC_ALPHA GL_ONE
  849.     }
  850.     surfaceparm nolightmap
  851.     {
  852.         nodepthtest
  853.         map ui/control/cancel.tga
  854.         rgbgen identity
  855.         blendfunc GL_ONE GL_ONE
  856.     }
  857. }
  858.  
  859. ui/control/back
  860. {
  861.     nopicmip
  862.     nomipmaps
  863.     surfaceparm nolightmap
  864.     {
  865.         nodepthtest
  866.         map ui/control/back_glow.tga
  867.         alphaGen vertex
  868.         rgbGen wave sin .7 .35 0.6 .2
  869.         blendfunc GL_ONE_MINUS_SRC_ALPHA GL_ONE
  870.     }
  871. }
  872.  
  873. ui/control/skull_glow
  874. {
  875.     nopicmip
  876.     nomipmaps
  877.     surfaceparm nolightmap
  878.     {
  879.         nodepthtest
  880.         map ui/control/skull_eyes_glow.tga
  881.         rgbgen identity
  882.         blendfunc GL_SRC_ALPHA GL_ONE
  883.     }
  884. }
  885.  
  886. ui/main/loadgame_glow
  887. {
  888.     nopicmip
  889.     nomipmaps
  890.     surfaceparm nolightmap
  891.     {
  892.         nodepthtest
  893.         map ui/main/button_loadgame_glow.tga
  894.         rgbgen identity
  895.         rgbGen wave sin .7 .35 0 .2
  896.         blendfunc GL_ONE GL_ONE
  897.     }
  898. }
  899.  
  900. ui/main/newgame
  901. {
  902.     nopicmip
  903.     nomipmaps
  904.     surfaceparm nolightmap
  905.     {
  906.         nodepthtest
  907.         map ui/main/button_newgame.tga
  908.         rgbgen identity
  909.     }
  910. }
  911.  
  912. ui/main/newgame_glow
  913. {
  914.     nopicmip
  915.     nomipmaps
  916.     surfaceparm nolightmap
  917.     {
  918.         nodepthtest
  919.         map ui/main/button_newgame_glow.tga
  920.         rgbgen identity
  921.         rgbGen wave sin .7 .35 0 .2
  922.         blendfunc GL_ONE GL_ONE
  923.     }
  924. }
  925.  
  926. ui/main/settings_glow
  927. {
  928.     nopicmip
  929.     nomipmaps
  930.     surfaceparm nolightmap
  931.     {
  932.         nodepthtest
  933.         map ui/main/button_settings_glow.tga
  934.         rgbgen identity
  935.         rgbGen wave sin .7 .35 0 .2
  936.         blendfunc GL_ONE GL_ONE
  937.     }
  938. }
  939.  
  940. ui/main/quit_glow
  941. {
  942.     nopicmip
  943.     nomipmaps
  944.     surfaceparm nolightmap
  945.     {
  946.         nodepthtest
  947.         map ui/main/button_quit_glow.tga
  948.         rgbgen identity
  949.         rgbGen wave sin .7 .35 0 .2
  950.         blendfunc GL_ONE GL_ONE
  951.     }
  952. }
  953.  
  954. ui/main/mainA_glow
  955. {
  956.     nopicmip
  957.     nomipmaps
  958.     surfaceparm nolightmap
  959.     {
  960.         nodepthtest
  961.         clampmap ui/main/mainA_glow.tga
  962.         rgbgen identity
  963.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  964.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  965.     }
  966. }
  967.  
  968. ui/main/mainB_glow
  969. {
  970.     nopicmip
  971.     nomipmaps
  972.     surfaceparm nolightmap
  973.     {
  974.         nodepthtest
  975.         clampmap ui/main/mainB_glow.tga
  976.         rgbgen identity
  977.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  978.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  979.     }
  980. }
  981.  
  982. ui/main/mainD_glow
  983. {
  984.     nopicmip
  985.     nomipmaps
  986.     surfaceparm nolightmap
  987.     {
  988.         nodepthtest
  989.         clampmap ui/main/mainD_glow.tga
  990.         rgbgen identity
  991.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  992.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  993.     }
  994. }
  995.  
  996. ui/main/mainE_glow
  997. {
  998.     nopicmip
  999.     nomipmaps
  1000.     surfaceparm nolightmap
  1001.     {
  1002.         nodepthtest
  1003.         clampmap ui/main/mainE_glow.tga
  1004.         rgbgen identity
  1005.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  1006.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1007.     }
  1008. }
  1009.  
  1010. ui/main/wick
  1011. {
  1012.     nopicmip
  1013.     nomipmaps
  1014.     surfaceparm nolightmap
  1015.     {
  1016.         nodepthtest
  1017.         map ui/main/wick_glow.tga
  1018.         rgbgen identity
  1019. //        rgbGen wave noise 0 1 0 3 //0.8 0.2 0 10
  1020.         alphaGen wave sin .7 .35 0 .2
  1021. //        blendfunc GL_ONE GL_ONE
  1022.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1023.     }
  1024. }
  1025.  
  1026. ui/main/smoke
  1027. {
  1028.     nopicmip
  1029.     nomipmaps
  1030.     surfaceparm nolightmap
  1031.     {
  1032.         nodepthtest
  1033.         map ui/main/smoke_trail.tga
  1034.         rgbgen identity
  1035. //        rgbGen wave noise 0 1 0 3 //0.8 0.2 0 10
  1036. //        rgbGen wave sin .7 .35 0 .2
  1037.         tcMod scroll 0 0.1
  1038.         blendfunc GL_ONE GL_ONE
  1039. //        blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1040.     }
  1041. }
  1042. ui/main/smokeMask
  1043. {
  1044.     nopicmip
  1045.     nomipmaps
  1046.     surfaceparm nolightmap
  1047.     {
  1048.         nodepthtest
  1049.         clampmap ui/main/smoke_mask.tga
  1050.         rgbgen identity
  1051.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1052.     }
  1053.     surfaceparm nolightmap
  1054.     {
  1055.         nodepthtest
  1056.         clampmap ui/main/smoke_mask_glow.tga
  1057.         rgbgen identity
  1058.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  1059.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1060.     }
  1061. }
  1062.  
  1063. ui/deadtime_watch
  1064. {
  1065.     sort decal
  1066.     nopicmip
  1067.     nomipmaps
  1068.     cull disable
  1069.     {
  1070.         nodepthtest
  1071.         map models/powerups/deadtime_watch/skin01.tga
  1072.         rgbgen lightingDiffuse
  1073.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1074.     }
  1075. }
  1076.  
  1077.  
  1078. ui/foldout/icewand
  1079. {
  1080.     sort decal
  1081.     nopicmip
  1082.     nomipmaps
  1083.     cull disable
  1084.     {
  1085.         nodepthtest
  1086.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1087.         map models/ui/icewand.tga
  1088.     }
  1089. }
  1090. ui/foldout/cards
  1091. {
  1092.     sort decal
  1093.     nopicmip
  1094.     nomipmaps
  1095.     cull disable
  1096.     {
  1097.         nodepthtest
  1098.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1099.         map models/ui/cards.tga
  1100.     }
  1101. }
  1102. ui/foldout/knife
  1103. {
  1104.     sort decal
  1105.     nopicmip
  1106.     nomipmaps
  1107.     cull disable
  1108.     {
  1109.         nodepthtest
  1110.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1111.         map models/ui/knife.tga
  1112.     }
  1113. }
  1114. ui/foldout/mallet
  1115. {
  1116.     sort decal
  1117.     nopicmip
  1118.     nomipmaps
  1119.     cull disable
  1120.     {
  1121.         nodepthtest
  1122.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1123.         map models/ui/mallet.tga
  1124.     }
  1125. }
  1126. ui/foldout/dice
  1127. {
  1128.     sort decal
  1129.     nopicmip
  1130.     nomipmaps
  1131.     cull disable
  1132.     {
  1133.         nodepthtest
  1134.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1135.         map models/ui/dice1.tga
  1136.     }
  1137. }
  1138. ui/foldout/dice1
  1139. {
  1140.     sort decal
  1141.     nopicmip
  1142.     nomipmaps
  1143.     cull disable
  1144.     {
  1145.         nodepthtest
  1146.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1147.         map models/ui/dice1.tga
  1148.     }
  1149. }
  1150. ui/foldout/dice2
  1151. {
  1152.     sort decal
  1153.     nopicmip
  1154.     nomipmaps
  1155.     cull disable
  1156.     {
  1157.         nodepthtest
  1158.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1159.         map models/ui/dice2.tga
  1160.     }
  1161. }
  1162. ui/foldout/dice3
  1163. {
  1164.     sort decal
  1165.     nopicmip
  1166.     nomipmaps
  1167.     cull disable
  1168.     {
  1169.         nodepthtest
  1170.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1171.         map models/ui/dice3.tga
  1172.     }
  1173. }
  1174. ui/foldout/jackbomb
  1175. {
  1176.     sort decal
  1177.     nopicmip
  1178.     nomipmaps
  1179.     cull disable
  1180.     {
  1181.         nodepthtest
  1182.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1183.         map models/ui/jackbomb.tga
  1184.     }
  1185. }
  1186. ui/foldout/icewand
  1187. {
  1188.     sort decal
  1189.     nopicmip
  1190.     nomipmaps
  1191.     cull disable
  1192.     {
  1193.         nodepthtest
  1194.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1195.         map models/ui/icewand.tga
  1196.     }
  1197. }
  1198. ui/foldout/jacks
  1199. {
  1200.     sort decal
  1201.     nopicmip
  1202.     nomipmaps
  1203.     cull disable
  1204.     {
  1205.         nodepthtest
  1206.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1207.         map models/ui/jacks.tga
  1208.     }
  1209. }
  1210. ui/foldout/eyestaff
  1211. {
  1212.     sort decal
  1213.     nopicmip
  1214.     nomipmaps
  1215.     cull disable
  1216.     {
  1217.         nodepthtest
  1218.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1219.         map models/ui/eyestaff.tga
  1220.     }
  1221. }
  1222. ui/foldout/blunderbuss
  1223. {
  1224.     sort decal
  1225.     nopicmip
  1226.     nomipmaps
  1227.     cull disable
  1228.     {
  1229.         nodepthtest
  1230.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1231.         map models/ui/blunderbuss.tga
  1232.     }
  1233. }
  1234.  
  1235. ui/foldout/rage
  1236. {
  1237.     sort decal
  1238.     nopicmip
  1239.     nomipmaps
  1240.     cull disable
  1241.     {
  1242.         nodepthtest
  1243.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1244.         map models/ui/ragebox.tga
  1245.     }
  1246. }
  1247. ui/foldout/tea
  1248. {
  1249.     sort decal
  1250.     nopicmip
  1251.     nomipmaps
  1252.     cull disable
  1253.     {
  1254.         nodepthtest
  1255.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1256.         map models/ui/tea.tga
  1257.     }
  1258. }
  1259. ui/foldout/glass
  1260. {
  1261.     sort decal
  1262.     nopicmip
  1263.     nomipmaps
  1264.     cull disable
  1265.     {
  1266.         nodepthtest
  1267.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1268.         map models/ui/glass.tga
  1269.     }
  1270. }
  1271. ui/foldout/watch
  1272. {
  1273.     sort decal
  1274.     nopicmip
  1275.     nomipmaps
  1276.     cull disable
  1277.     {
  1278.         nodepthtest
  1279.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1280.         map models/ui/watch.tga
  1281.     }
  1282. }
  1283.  
  1284. ui/quit/credits_glow
  1285. {
  1286.     nopicmip
  1287.     nomipmaps
  1288.     surfaceparm nolightmap
  1289.     {
  1290.         nodepthtest
  1291.         map ui/quit/credits_glow.tga
  1292.         rgbgen identity
  1293.         rgbGen wave sin .7 .35 0 .2
  1294.         blendfunc GL_ONE GL_ONE
  1295.     }
  1296. }
  1297. ui/quit/yes_glow
  1298. {
  1299.     nopicmip
  1300.     nomipmaps
  1301.     surfaceparm nolightmap
  1302.     {
  1303.         nodepthtest
  1304.         map ui/quit/yes_glow.tga
  1305.         rgbgen identity
  1306.         rgbGen wave sin .7 .35 0 .2
  1307.         blendfunc GL_ONE GL_ONE
  1308.     }
  1309. }
  1310. ui/quit/no_glow
  1311. {
  1312.     nopicmip
  1313.     nomipmaps
  1314.     surfaceparm nolightmap
  1315.     {
  1316.         nodepthtest
  1317.         map ui/quit/no_glow.tga
  1318.         rgbgen identity
  1319.         rgbGen wave sin .7 .35 0 .2
  1320.         blendfunc GL_ONE GL_ONE
  1321.     }
  1322. }
  1323.  
  1324. ui/back_button
  1325. {
  1326.     nopicmip
  1327.     nomipmaps
  1328.     surfaceparm nolightmap
  1329.     {
  1330.         nodepthtest
  1331.         map ui/back_button.tga
  1332.         rgbgen identity
  1333.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1334.     }
  1335.     surfaceparm nolightmap
  1336.     {
  1337.         nodepthtest
  1338.         map ui/back_button_glow.tga
  1339.         rgbgen identity
  1340.         rgbGen wave sin .7 .35 0 .2
  1341.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1342.     }
  1343. }
  1344. ui/back_button_hover
  1345. {
  1346.     nopicmip
  1347.     nomipmaps
  1348.     surfaceparm nolightmap
  1349.     {
  1350.         nodepthtest
  1351.         map ui/back_button_hover.tga
  1352.         rgbgen identity
  1353.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1354.     }
  1355.     surfaceparm nolightmap
  1356.     {
  1357.         nodepthtest
  1358.         map ui/back_button_glow.tga
  1359.         rgbgen identity
  1360.         rgbGen wave sin .7 .35 0 .2
  1361.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1362.     }
  1363. }
  1364.  
  1365. ui/newgame/easy_glow
  1366. {
  1367.     nopicmip
  1368.     nomipmaps
  1369.     surfaceparm nolightmap
  1370.     {
  1371.         nodepthtest
  1372.         map ui/newgame/easy_glow.tga
  1373.         rgbgen identity
  1374.         alphaGen wave sin .7 .35 0 .2
  1375.         blendfunc GL_SRC_ALPHA GL_ONE
  1376.     }
  1377. }
  1378. ui/newgame/medium_glow
  1379. {
  1380.     nopicmip
  1381.     nomipmaps
  1382.     surfaceparm nolightmap
  1383.     {
  1384.         nodepthtest
  1385.         map ui/newgame/medium_glow.tga
  1386.         rgbgen identity
  1387.         alphaGen wave sin .7 .35 0 .2
  1388.         blendfunc GL_SRC_ALPHA GL_ONE
  1389.     }
  1390. }
  1391. ui/newgame/hard_glow
  1392. {
  1393.     nopicmip
  1394.     nomipmaps
  1395.     surfaceparm nolightmap
  1396.     {
  1397.         nodepthtest
  1398.         map ui/newgame/hard_glow.tga
  1399.         rgbgen identity
  1400.         alphaGen wave sin .7 .35 0 .2
  1401.         blendfunc GL_SRC_ALPHA GL_ONE
  1402.     }
  1403. }
  1404. ui/newgame/nightmare_glow
  1405. {
  1406.     nopicmip
  1407.     nomipmaps
  1408.     surfaceparm nolightmap
  1409.     {
  1410.         nodepthtest
  1411.         map ui/newgame/nightmare_glow.tga
  1412.         rgbgen identity
  1413.         alphaGen wave sin .7 .35 0 .2
  1414.         blendfunc GL_SRC_ALPHA GL_ONE
  1415.     }
  1416. }
  1417.  
  1418. textures/bind/leftarrow
  1419. {
  1420.     nopicmip
  1421.     nomipmaps
  1422.     surfaceparm nolightmap
  1423.     {
  1424.         nodepthtest
  1425.         map textures/bind/leftarrow.tga
  1426.         rgbgen identity
  1427.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1428.     }
  1429. }
  1430. textures/bind/rightarrow
  1431. {
  1432.     nopicmip
  1433.     nomipmaps
  1434.     surfaceparm nolightmap
  1435.     {
  1436.         nodepthtest
  1437.         map textures/bind/rightarrow.tga
  1438.         rgbgen identity
  1439.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1440.     }
  1441. }
  1442. textures/bind/uparrow
  1443. {
  1444.     nopicmip
  1445.     nomipmaps
  1446.     surfaceparm nolightmap
  1447.     {
  1448.         nodepthtest
  1449.         map textures/bind/uparrow.tga
  1450.         rgbgen identity
  1451.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1452.     }
  1453. }
  1454. textures/bind/downarrow
  1455. {
  1456.     nopicmip
  1457.     nomipmaps
  1458.     surfaceparm nolightmap
  1459.     {
  1460.         nodepthtest
  1461.         map textures/bind/downarrow.tga
  1462.         rgbgen identity
  1463.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1464.     }
  1465. }
  1466.  
  1467.  
  1468.  
  1469. ui/main/glowA
  1470. {
  1471.     nopicmip
  1472.     nomipmaps
  1473.     surfaceparm nolightmap
  1474.     {
  1475.         nodepthtest
  1476.         clampmap ui/main/glowA.tga
  1477.         rgbgen identity
  1478.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  1479.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1480.     }
  1481. }
  1482. ui/main/glowB
  1483. {
  1484.     nopicmip
  1485.     nomipmaps
  1486.     surfaceparm nolightmap
  1487.     {
  1488.         nodepthtest
  1489.         clampmap ui/main/glowB.tga
  1490.         rgbgen identity
  1491.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  1492.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1493.     }
  1494. }
  1495. ui/main/glowC
  1496. {
  1497.     nopicmip
  1498.     nomipmaps
  1499.     surfaceparm nolightmap
  1500.     {
  1501.         nodepthtest
  1502.         clampmap ui/main/glowC.tga
  1503.         rgbgen identity
  1504.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  1505.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1506.     }
  1507. }
  1508. ui/main/glowD
  1509. {
  1510.     nopicmip
  1511.     nomipmaps
  1512.     surfaceparm nolightmap
  1513.     {
  1514.         nodepthtest
  1515.         clampmap ui/main/glowD.tga
  1516.         rgbgen identity
  1517.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  1518.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1519.     }
  1520. }
  1521. ui/main/glowE
  1522. {
  1523.     nopicmip
  1524.     nomipmaps
  1525.     surfaceparm nolightmap
  1526.     {
  1527.         nodepthtest
  1528.         clampmap ui/main/glowE.tga
  1529.         rgbgen identity
  1530.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  1531.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1532.     }
  1533. }
  1534. ui/main/glowF
  1535. {
  1536.     nopicmip
  1537.     nomipmaps
  1538.     surfaceparm nolightmap
  1539.     {
  1540.         nodepthtest
  1541.         clampmap ui/main/glowF.tga
  1542.         rgbgen identity
  1543.         alphaGen wave noise 0 1 0 3 //0.8 0.2 0 10
  1544.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1545.     }
  1546. }
  1547.  
  1548. ui/pausewatch/watch
  1549. {
  1550.     nopicmip
  1551.     nomipmaps
  1552.     surfaceparm nolightmap
  1553.     {
  1554.         nodepthtest
  1555.         clampmap ui/pausewatch/pausewatch.tga
  1556.         rgbgen identity
  1557. //        alphaGen wave sin 0 1 0.3 0.3
  1558.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1559. //        tcmod rotate 50 50            
  1560.     }
  1561. }
  1562.  
  1563. ui/credits/rabbit
  1564. {
  1565.     sort decal
  1566.     nopicmip
  1567.     nomipmaps
  1568.     cull disable
  1569.     {
  1570.         nodepthtest
  1571. //        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1572.         blendfunc GL_ZERO GL_SRC_COLOR
  1573.         map ui/credits/rabbit.tga
  1574.     }
  1575. }
  1576. ui/credits/bill
  1577. {
  1578.     sort decal
  1579.     nopicmip
  1580.     nomipmaps
  1581.     cull disable
  1582.     {
  1583.         nodepthtest
  1584. //        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1585.         blendfunc GL_ZERO GL_SRC_COLOR
  1586.         map ui/credits/bill.tga
  1587.     }
  1588. }
  1589.  
  1590. ui/control/game_options
  1591. {
  1592.     sort decal
  1593.     nopicmip
  1594.     nomipmaps
  1595.     cull disable
  1596.     {
  1597.         nodepthtest
  1598.         map ui/control/game_options.tga
  1599.         alphaGen wave sin .7 .35 0 .2
  1600. //        blendfunc GL_SRC_ALPHA GL_ONE
  1601.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1602.     }
  1603. }
  1604. ui/control/video_options
  1605. {
  1606.     sort decal
  1607.     nopicmip
  1608.     nomipmaps
  1609.     cull disable
  1610.     {
  1611.         nodepthtest
  1612.         map ui/control/video_options.tga
  1613.         alphaGen wave sin .7 .35 0.1 .2
  1614. //        blendfunc GL_SRC_ALPHA GL_ONE
  1615.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1616.     }
  1617. }
  1618. ui/control/audio_options
  1619. {
  1620.     sort decal
  1621.     nopicmip
  1622.     nomipmaps
  1623.     cull disable
  1624.     {
  1625.         nodepthtest
  1626.         map ui/control/audio_options.tga
  1627.         alphaGen wave sin .7 .35 0.3 .2
  1628. //        blendfunc GL_SRC_ALPHA GL_ONE
  1629.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1630.     }
  1631. }
  1632. ui/control/control_options
  1633. {
  1634.     sort decal
  1635.     nopicmip
  1636.     nomipmaps
  1637.     cull disable
  1638.     {
  1639.         nodepthtest
  1640.         map ui/control/control_options.tga
  1641.         alphaGen wave sin .7 .35 0.5 .2
  1642. //        blendfunc GL_SRC_ALPHA GL_ONE
  1643.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1644.     }
  1645. }
  1646.  
  1647.  
  1648. ui/credits/rogue_glow
  1649. {
  1650.     sort decal
  1651.     nopicmip
  1652.     nomipmaps
  1653.     cull disable
  1654.     {
  1655.         clampmap ui/credits/rogue_logo.tga
  1656.         alphaGen wave sin .7 .35 0 .8
  1657.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1658.     }
  1659. }
  1660. ui/credits/ea_glow
  1661. {
  1662.     sort decal
  1663.     nopicmip
  1664.     nomipmaps
  1665.     cull disable
  1666.     {
  1667.         clampmap ui/credits/ea_logo.tga
  1668.         alphaGen wave sin .7 .35 0.4 .8
  1669.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1670.     }
  1671. }
  1672.  
  1673. ui/worldmap/star1
  1674. {
  1675.     sort decal
  1676.     nopicmip
  1677.     nomipmaps
  1678.     surfaceparm nolightmap
  1679.     cull disable
  1680.     {
  1681.         nodepthtest
  1682.         clampmap ui/worldmap/star1.tga
  1683.         rgbGen wave noise 0 1 0 3
  1684.         blendFunc GL_ONE GL_ONE
  1685.     }
  1686. }
  1687.  
  1688. ui/loadgame/pushbtn_med_lit
  1689. {
  1690.     sort decal
  1691.     nopicmip
  1692.     nomipmaps
  1693.     cull disable
  1694.     {
  1695.         clampmap ui/load/pushbtn_med_lit.tga
  1696.         alphaGen wave sin .9 0.1 0 0.5
  1697.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1698.     }
  1699. }
  1700. ui/loadgame/pushbtn_large_lit
  1701. {
  1702.     sort decal
  1703.     nopicmip
  1704.     nomipmaps
  1705.     cull disable
  1706.     {
  1707.         clampmap ui/load/pushbtn_large_lit.tga
  1708.         alphaGen wave sin .9 0.1 0 1.5
  1709.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1710.     }
  1711. }
  1712.